Add JS and web service for surevy entry.