Javascript binding.