added jquery, more routine setup