test javascript console messaging