JavaScript functions for converting Gregorian and Jalaali calendar systems to each other