A basic JavaScript console utility.