added js confirmation messages
fix