added jquery. partially working, having trouble saving