Factored out inlines.js from index.js.