fix syntax error in js for keyboard constants