Following Function is not supported in WSO2 ESB script datamapper Javascript function.

```
new Date().toLocaleString('en-US', { timeZone: 'America/New_York' })

```

Following is what i have used not supported. It gives the server current timezone reguardless of the time zone what i have given.

Is there any possibility to import a moment.js resource to javascript custom function in WSO2 datamapper.