Compile js more nicely