Unify JavaScript formatting