Update src/main/webapp/assets/js/common.js