Another benefit of using JSLint is that there's less danger of feeling that someone is picking on you. It tells you that your code has problems and will keep on telling you until you fix those problems. It doesn't try to hurt your feelings, but it doesn't try to protect them either.
Get your code fixed up and further progress from there will be much easier.
JSLint is known to make grown men cry, but it took me only a few minutes to use it to find and fix all of the problems in similar code of yours in another recent thread. Well be here to help you through with that too.