water footprint javascript