JavaScript Console Bugs