Convert tag names to lowercase for comparisons in JS.
Merge pull request #27 from linclark/ticket_26

Convert tag names to lowercase for comparisons in JS