Revert "Add Router and edit validation js"

This reverts commit 1995b6d64fc805b055cf24f866cfeb08216fc58f.