adding a js admin panel