changing handling of Comma and CR to "keypress" event in order to correctly handle keyboards with different layout (like hebrew).