Moved the js_escape/js_unescape/format_js methods into js/ (issue #48).
Add requires for the js extensions (issue #48).
Added requires for the xml formatting extensions (issue #47).