Converted spacing from 4 to 2 spaces, removed some semi-colons and adjusted some general code syntax.