Format gallery.ejs, index.ejs and error.ejs
Wrap schema.js by RequireJS
Wrap gallery.js by RequireJS