Update example js

This fixes some issues in IE8.