Compare doubles against 0.0 instead of 0

The previous fix changed the code in the output `build/web` directory by accident, not in the source `web/` directory itself. Sorry for the confusion.