Beautify javascript