A prototype for building JavaScript based plug-in system in iOS 7