I've corrected some typos in my javascript file