The most basic example that handles plugin installation requirements, auto-detects a connected device and displays it in the status window. Try it out. 
DeviceDipsplay JavaScript Configuration:
var display = new Garmin.DeviceDisplay("garminDisplay", {
autoFindDevices: true, //start searching for devices
showStatusElement: true, //basic feedback provided
showReadDataElement: false, //don't offer to read data
//add other options per the documentation
});