Filter to avoid processing '.js' files

Before, the '.js' extension was appended. Now, we replace the current extension (expecting it to be .handlebars like the original application) with '.js'.

For example, this will avoid an infinite loop of rendering files if the template folder is the same as the target folder (which could be acceptable in a development environment)