Added window size check, fixes #20
Added support for data-rsts-class attribute
Increased version number to 1.4.2