Javascript formatting updates for JSHint rules