Prevent full page refresh on reset cancel/ok

The reset would always refresh the page, now it doesn't. Cancel goes back to the previous page, while ok loads the index without a full refresh.

Also fixed bower reference in `package.json`.