Improved define to avoid conflicts in environment using alternative require