format client Js files, add classes for easier iteration logic on images