Reupdate to improve load speed

script loading moved to end so actual html can load