Add @on_ready wrapper for jquery page ready.