JavaScript console enhancements