Remove error checking and compatibility code before v2.0.0.

Closes #25.
Merge pull request #160 from nicksay/remove-script-style-transition-code-2

Remove error checking and compatibility code before v2.0.0.