minor refactor
put 'use strict'; back in
add writer
update dist