Added some javascript stuff