fixed requirejs issue
sorted build process