What happens when you execute it? If it freezes the story, then press F12 in the navigator and copy here what the error is (it should appear in the browser console).