Revert "edit js form selction"

This reverts commit c5bf5b6368534e9e78d28b580a1b306371bb53bb.