some api added
base template language js