rewrote tab function

old code doesn't work (for me) when I have more than two input.
in plus, in old code, "!e.shiftKey" doesn't work because point to the local "eventData" variable "e" and not to the "keydown eventData"
add visibility condition

add visibility condition
Merge pull request #124 from montrezorro/master

rewrote tab function