Updateding the js file which I want to mange from the gem

fixes #2 and fixes #1