Fix issue with requireJs modules