Minor comment and formatting nits for consistency across projects. [ci skip]
Cleanup test/test.js and use package configs for AMD setup in test/index.html.