frontend: fiddle with ajax / rest