Update admin.php

Fixed  js function name