When i want to create new tours.. page just reloads.. i see this in devtools Uncaught TypeError: root.querySelectorAll is not a function bindAll function bindAll(root = document) { root.querySelectorAll(selector).forEach(attach); }