Added an option to create revisions, added jquery