Record feature JS API + File Format