The JavaScript component for a web app