Preprocessor for emberjs templates