a cordova polymer app with common functionality