Add default AE and make trailing slashes optional
removing unused js libs
Make decimal places in measurement a config param.