Preprocessor for karma and sprockets