Following AMD API instead of exports object