Fixed typos on main.js