Removed absolute links and added preventDefault to button event handlers.