New snippets for console.log and a fix for method/function snippet