added main jquery edits