Fix batching markup and css. Fixes #36
Make it work with javascript again.