update java example to handle blob name param, include commented CORS-related lines