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