// JS translation