move the javascript codes into bitbucket.org