Convert MGRS to latitude longitude and vice versa

Using local copies of geodesy library:
dms.js latlon-ellipsoidal-datum.js latlon-ellipsoidal.js latlon-spherical.js mgrs.js utm.js vector3d.js
source - https://github.com/chrisveness/geodesy
Norway (zone 32V) and Svalbard (zone 33X) are correctly converted
This code allows MGRS to have spaces and lower case, which is not formal MGRS standard