Update actions.view.php

remove unneeded JavaScript.