Thread:Fandyllic/@comment-957747-20120313235602

and saw a few errors. If you're using addonloadhook, you must define the function first or else it can fail. There were a few other issues too...

I redid your JS file here if you're interested in updating it to proper code. 