Updated Javascript and commented on ~ for column headings