javascript (js and html template files) parser for poEdit implemented in PHP