Prioritize the jQuery events