Templates modificable

By using the second parameter "templates" you can now override the content of templates.js and use as you want.
Everything works like before.