Flask utilities in your javascript