updated jquery, base template cleanup