Allow precompilation if data == null

This can be used to convert template files into JS files