A Jalali to Gregorian converter in Java-script with support of formatting output