For example this statement is not correctly handled:
var foo = SOMECONFIGPARAM;
where SOMECONFIGPARAM is defined in the context, it will fail to be replaced.
Fix is simple add a semicolon to the expression on line 316:
contents = contents.replace(new RegExp('([ \+\-\\!\|\[\]\'\"\>\<\=\(\)\n\t])(' + prop + ')([ \'\[\]\+\-\(\)\=\\&\>\<\{\};\n\t!])', 'gi'), function (match, pre, include, post) {