Added an assertion for this.options.align, to verify that the string is valid, and that it makes sense for the value of options.orientation, see #281