base template language js