Generic scriptserver code for returning Javascript payloads, e.g. pixel, other JS, etc. based on a MySQL db