Remove admin directory in the js