use js to remove slash #3334