load with require js
small refactor
remove require test file