move jsRef to File prototype
temporary fix for expression evaluation
generate and inject pregenerates template functions map