refactor server.py, put freshen.js in the MainHandler instead of loading it statically
make inject.py use the listening server instead of loading the file from disk
Simplify injection process with try/except instead of a lot of if statements