Separated admin and regular client js