Added some initial js code.