rm flask ajax