Move a generic method to the parent class to ease Web usage

Change-Id: I9eb710f6a584a0c67a357f9af3908a7e334b4da4
ParaViewWeb JavaScript cleanup

Change-Id: I43405ef089e209a71f1be4602be61c557f191dfa
Merge topic 'refactor_view_proxy_for_web' into next

44e5d75 ParaViewWeb JavaScript cleanup
c236027 Move a generic method to the parent class to ease Web usage