Javascript image convertor for nokia display