added new renditions from DM
fixed rendition2.js
rendition1 more defensive to match rendition2
rendition3 too of course
Merge pull request #227 from adamsilver/getViewportSize

added new renditions from DM