Removed toISOString function since it is missing in older version of mongo. The polyfil fails because division causes seg faults. Must be because a problem in 2.1.1-pre