Added ability to edit jams and also made the php code consistant with single quotes