Console warning selfxss (close #828)

Adds warning to console:
![zrzut ekranu 2014-12-15 o 15 11 51](https://cloud.githubusercontent.com/assets/464938/5437011/e2f0a226-846c-11e4-9c18-847d9f338ad3.png)

Closes #828.