add console.log js snippets