move source-code-related stuff out of utils.js, into source-code.js