enhance js integration