You could wrap this file in the define rather than having the require and then an inner define?