Issue #2416: undefined is not function
Merge pull request #36 from VisualSJ/Iss2416_RefactorRenderer

Issue #2416: undefined is not function