update javascript library with fix to return consistent ID value when sent in an invalid ID