Update dashboard_view.php

Removed event.returnValue and unused javascript.