More js edits