Replaced deprecated method onready with on('ready').
Merge commit 'HEAD@{1}'