Converted web application into a single-page-application