Add javascript console.debug snippet