refactoring js, adding global keypress
zoom working with arrow butons
escape works
f2 f4 keys added
f2 f4 keys added