fixed AMD define()