Why is this two different variables? wysihtml5 seems to use indexOf. Any reason we're not following that convention here?