"Bad exponent" parsing valid float constants with exponents

...d in the latest version of TDOP (https://github.com/douglascrockford/TDOP) where this code seems to have been sourced, but the interface to TDOP has also changed slightly, so I didn't just pull in the latest - that sounded like more surgery than was interesting for a project that doesn't seem to get a lot of updates.