Issue #11 - JS if statement added

JS if statement added to allow for use of the CSS classes by the paper-shadow creation scripts.