Object Variable Vba Function Isdate Javascript