Console logged javascript