ENYO-2570: Cleanup some 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>
Merge branch 'ENYO-2570' of github.com:enyojs/ares-project into ENYO-2570