Moved client-side scripts to separate file (clientUtils.js)