added require js flag