using template lang to load all js scripts from base static