Preparations for js integration