Got JS working on edit button / settings page