Added AMD define() code