Shared JS code for Crisisworks front-end and Crisisworks app