Minor JSHint Edits

JSHint was complaining about a function invocation, so this edit fixes that and slightly improves clarity in the process. (sorry for a couple extra bytes tho)