Update ads.js

Enable raw writing of buffer data to a handle. (For example if writing to a struct or array of structs)
Merge pull request #2 from haakonnessjoen/patch-1

Enable raw writing of buffer data to a handle