added javascript console demo to page