A recipe to make large web applications fit for the future