- Changed default templates directory to "templates"
- Added the target option to renderHTML()