Optimize JS delivery, toss unused files