add global references for JSHint and readability