Description

The syntax $(document).on("ready", handler) is deprecated as of jQuery 1.8.
It behaves similarly to the ready method but if the ready event has already fired and you try to .on("ready") the bound handler will not be executed.