Added local jquery, other improvements