RequireJS Conditional Dependency Problem