to make it work in ie7  slight change ...

this.placeholderText = this.$element.attr('placeholder') ? this.$element.attr('placeholder') : '';