IE doesn't support e.target, use srcElement.

http://stackoverflow.com/questions/1143196/ie-e-target-id-is-not-working
Fix spelling mistake in removeClass