WIP: Javascript binding.