Refactoring so that functions javascript functions created for subscriptions can be reused for watch and vote.
Merge pull request #44 from ShadowSam/master

Refactoring so that functions javascript functions created for subscript...