First commit of the javascript file.  Secret Keys have been removed so functionality is limited.