Ability to encode an activity using JavaScript SDK

C# FIT SDK etc have the ability to encode as well as decode FIT files. 

The JavaScript SDK is only able to decode FIT files. It would be useful to be able to encode again using the JavaScript SDK. 

When will this be functionality be implemented?