Update widget.js

canOpenURL throws an Exception on Android.