Fixed code formatting with jsfmt