Add require() to all code snippets and mark them as javascript