Added the javascript fix