main.js is actually from 2012, though modified since