move jquery and such into the bottom as no scripts anymore require it
mongoose is already connected, don't wait for it