js integration final