remove console.log
use snippets and nette.ajax.js