Added default value to jsdoc
Added the ability to alter the API endpoint for the purpose of testing, unusual setups, etc.