Updated the solution for param filtering. No more inline javascript. Not...

... checking for individual key presses which may have affected performance and introduced a laggy feeling to adding text into input field.