one big ugly js in index.html