move thermo js and css reference inside build tags