Fixed typos

I've just fixed some typos. Some JavaScripts didn't work because of that.