Update the plugin protocols code & samples.

1. Remove the JS binding & JS samples.
2. Solve the compiling error during ndk-build when ndk version is r9b & later.