Add JSHint globals
Don't use function expr, to pass JSHint
Remove fragile tests
Built JS