Formatting fixes and JS module naming guidelines