Update maputils.js

Fixing an issue with numeric strings.