Resolved #53 - added support for __template__.js file.