code review. define() now works with dependent AMD modules