A simple Javascript Converter