requirejsify, stub
make it testable in karma without requirejs