updated chute.js to use scripts and tags