fixed route bug for post and delete after including jquery plugin