ENYO-2570: Cleanup ares/source files to clear warnings/errors reported by jshint

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>