The first issue is that you have the script block outside of the closing body tag. Secondly to switch the "enter" key for "tab", you'll need to do some additional reasearch. I havent had time to test this myself, but did a quick search and found a solution online which indicates working, tested code.