Is this the js issue at pin delete