added the javascript file
adding some javascript