Make sure category page is loaded before we do JS work.