I searched far and wide for an easy way to add leading zeros in javascript in servicenow UI Action. Basically the PadStart looked great, but was undefined. In the end It was s