Replace "$.isEmptyObject()" with "_.isEmpty()"

As Underscore.js library is included, there is no need to use jQuery "$.isEmptyObject()" function, the "_.isEmpty()" function is a perfect equivalent