fix on device ready function
change keyup to on