Ensure utils/common js is loaded before main js

Also add compass to npm packages. This only effects js tests.