Fixed JS to run when site loads to fix nav