Fix for IE
Remove dublicated type attribute
Remove console.log() because the don't pass JSHint
Merge pull request #2 from makishvili/master

Plugin passes JSHint