Mobile like keypad in Javascript