fixed a few typos preventing JS execution :-D