More JS code formatting for Travis