Prototype JS Extension to export an HTML table as CSV