JS works in vanilla HTML form now too