DDF-419 Cleaned up user.js

- Now using the async version of define function in user.js.
- Removed unused require of purl.