Revert "requirejs optimalization"

This reverts commit 1b4af3514d216b6736cb1a92657953c2b5366c68.