OZP-698 - added jshint validation to commons/modules/client and fixed errors that were found