added compilation for requirejs