just a javascript convertor