Adding write-simple.js
Update write simple