Some bug fixes and made keypad smaller in js