improve complete functions js
Add conque term