Beautify
Fixed js errors.