middleware to convert react jsx files to javascript on the fly