When viewing a template, the Prototype library is not included, resulting in an error when attempting to render decks and/or cloaks.
This is a general problem caused by the prototype library not being included in various locations. Perhaps an onload event listener could be added via Behaviour to load the library if it is not present?