adding js edits