Separate class to use with requireJS
Use RequireJS