Move to pure js for translation center url setting