Feature/a in phas a distinct style

We can create a safe ```log``` function that won't blow up if ```window.console``` is not defined.