made keybindings wait until document.ready