Update default.js

integrated m. cain's template and new textbox feature from s. wilkinson