setup requirejs and textjs