Camel-case JavaScript file names

Use "factory" pattern for specifying page dependencies.

Avoid hard-coding baseUrl in the RequireJS config.