Add base for javascript compilation using requirejs