Change _main.js template to use the the new event names 'focus' and 'blur'