remove inline js from base.html (move to js/klp.js)