Fixed a small quirk with jquery loading