[js] fix number parsing with range form elements in parameters

Also adds tests for negative numbers
3 jobs for 206-alg-param-range in 23 minutes and 27 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #164786
docker
build_linux_36

00:15:19

passed #164787
macosx
build_macosx_36

00:07:40

 
  Browser Tests
passed #164788
docker
browser_test

00:08:05