Update javascript

-level 1 is working
-added restart function