Refactoring - push js stuff from index to initVkViewer()