move keyhandler from Polymer() object to ready function