Removed jquery stuff and fixed loading bar