Patch for issue 15
Fixed comparison logic
Added try/catch to support IE7
Merge pull request #16 from chuckcarpenter/ls/issue_15

Fixing issues with data-norem
update branch and fix conflicts