removing some differences between iOS and android JS interface.