X265JS project hosts an implementation of the JavaScript bindings for open source x265 encoder