Rebuild the javascript