Simple template environment for running JavaScript code through Jasmine tests and Karma test runner