functions.js: syntax modification on keyup function. Time for some sleep.