* dropped underscore dependency
* reverted an underscore based loop to use raw javascript