fixed bug where admin JS was loading ALL THE TIME