Limited admin js display and loop fix