Refactor always use objects by API, JS tab default