Added js test for delete key