Updated .jshintrc for app/ and fixed JSHint errors in example app JavaScript files.