JS edits