Fixing some JS.