require module optimization