Updated to accomodate IE10 and WP8

Added this update for Ryan so that this sample works appropriately on Microsoft browser controls.