clean up the offending code

Use the new Ruby 1.9 hash syntax.<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.<br>Trailing whitespace detected.