doT.js implementation
- new options
- bug fixes