added js for admin