Fix alpha parsing in convert.js