fixes and tests for requirejs and less