Code Formatted by creating separate JS files