Added check if arg(0) == admin, not to include js code