move the js in index.haml.html to kanban.js and add global search field