Merge pull request #213 from adamsilver/master

Merged Cinsoft repo with mine and pull
Remove duplicate function
Add capitalize renditions
Merge pull request #214 from cinsoft/master

Remove duplicate function and continue move
Update rendition1.js

missing quotes breaking the if
Merge pull request #219 from iancrowther/patch-2

Update rendition1.js
attachDocumentListener renditions