added js for admin interface