Fixed #130 - load __template__.js only for manual tests and in place of test's JS code.