Coding style: Clean up require directives in JS application.