Fix for IE8 (Source only)

Sorry, I wasn't able to compile it due to jasmine complaining about some errors. But this fixes it for IE8, in fact I believe using `.length` is better than `isEmptyObject`, less error-prone. You are returning an empty array anyway.