enable directly set js to auto_complete mapping