requirejs optimalization