A simple javascript-based Converter