Added some simple javascript