create JavaScript file to add headers to cells