NodeJS-powered automated site optimization