var _ = require('lodash')
    moment = require('moment-timezone')
    lookup = {};

lookup['hec5-y4x5'] = 'Graffiti Removal';
lookup['uxic-zsuj'] = 'Tree Trim';
lookup['9ksk-na4q'] = 'Garbage Carts';
lookup['97t6-zrhs'] = 'Rodent Baiting';
lookup['mab8-y9h3'] = 'Tree Debris';
lookup['3c9v-pnva'] = 'Abandoned Vehicles';
lookup['7as2-ds3y'] = 'Pot Holes';

function dateStringToTimestampWithZone(timeIn, zone) {
    // "2015-09-16T00:00:00"
    var pieces = timeIn.split('T'),
        dateString = pieces[0],
        timeString = pieces[1],
        datePieces = dateString.split('-'),
        timePieces = timeString.split(':'),
        timeObject = {},
        timestamp;

    timeObject.year = parseInt(datePieces.shift());
    timeObject.month = parseInt(datePieces.shift()) - 1;
    timeObject.day = parseInt(datePieces.shift());

    timeObject.hour = parseInt(timePieces.shift());
    timeObject.minute = parseInt(timePieces.shift());
    timeObject.seconds = parseInt(timePieces.shift());

    timestamp = moment.tz(timeObject, zone).unix();

    return timestamp;
}

function getStreamIdFromUrl(url) {
    // https://data.cityofchicago.org/resource/uxic-zsuj.json?$limit=1000&$order=creation_date%20DESC
    return url.split(/\//).pop().split('.').shift();
}

module.exports = function(body, options, temporalDataCallback, metaDataCallback) {
    var payload = JSON.parse(body),
        url = options.url,
        config = options.config,
        timezone = options.config.timezone,
        urlId = getStreamIdFromUrl(url);

    moment.tz.setDefault(config.timezone);

    _.each(payload, function(point) {

        if (point.service_request_number == 'SERVICE REQUEST NUMBER') {
            return;
        }

        // Skip records with no location.
        if (! point.location) {
            return;
        }

        var streamId = lookup[urlId],
            timestamp,
            fieldValues,
            location = point.location,
            latitude = location.latitude,
            longitude = location.longitude,
            creation_date = point.creation_date,
            police_district = point.police_district,
            zip_code = point.zip_code,
            status = point.status,
            service_request_number = point.service_request_number,
            ward = point.ward,
            community_area = point.community_area,
            type_of_service_request = point.type_of_service_request,
            street_address = point.street_address;

        fieldValues = [
            latitude,
            longitude,
            police_district,
            zip_code,
            status,
            service_request_number,
            ward,
            community_area,
            type_of_service_request,
            street_address
        ];

        timestamp = dateStringToTimestampWithZone(creation_date, timezone);

        temporalDataCallback(streamId, timestamp, fieldValues);

    });
};

@@ -18,16 +18,17 @@
 lodash')
+,
 %0A    mom
@@ -59,16 +59,17 @@
 mezone')
+,
 %0A    loo

Add missing commas.