typo and whitespace changes

small typo fixed and whitespace according to http://contribute.jquery.org/style-guide/js/#spacing