Fix RequireJS Initialization

Fix for #182 issue.