Changing the jStat reference for compatibility with other js environments