fix minimized javascript