Fix indentation
Factor fragments.js out of compiler.js