Corrected indentation of the statements in the keyup event callback function