small errors on initial javascript <tag>