Use processhtml to squash all scripts into one.