simplify loading of main for requirejs in production. Do not reconstruct the url with the optional prefix as it does not work anyway. Use baseUrl in config file to handle this.