Fix undefined variables in ucdn.js