Added some javascript