Fixes a bug with the last character appearing in the target
Added issue reference
Merge pull request #20 from Mathachew/dev

Max length bug in Internet explorer