Fixed typos + js lint