Fix JS Tag submit issue