Fixed IE8 errors
Minor/ignore - Added @private annotation to function