refactor(js): make getElementData private
feature(js): create public repaint method
Merge pull request #18 from asimov/feature/add-global-repaint

Add global repaint method and make getElementData private