Fixed issue with modules loaded multiple times due to the way RequireJS handles relative paths.