cleaned up code in admin/index.html template