Don't need to check define.amd (I've seen people delete this property for whatever reason). Allow for exporting as AMD and common JS at the same time.