some comments in plugin js code
some refactoring in iOS plugin interface
fixed comment