update js file to not rely on rico's domain