switching to require-js