console.warn removed (IE8/9 bug fix)
Empty if statement removed
Merge pull request #10 from Frran/master

# 1474 - console.warn removed (IE8/9 bug fix)