update doc url
use locale from browser by default
cleanup