text file resource support for requirejs