Not Able to cast to Java Script from appium driver

I am unable to cast Java script executor from appium driver.
I am getting following issue.

org.openqa.selenium.WebDriverException: Not yet implemented. Please help us: (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 5 milliseconds Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’ System