js code formatting