Fix JavaScripts