Fix #225 - Underscorejs definition errors

I did the same fix that @Steve-Fenton and I added some other fixes. Now all tests on `underscore-tests.ts` file are ok!