Fix for ua.js