Replace JSHint globals with predef