remove debug line
embed input.js + output.js
change input names to ids
input.js base construct