Fix for "this" scope issue
Replaced references to Smart.default with Smart['default']

Fixes bug in IE 8 due to reserved keyword.