Migrate the jam template into main.js
Remove comments