fixed dict.items() in javascript mode. all backends now pass for_loop regression test.