Added console.warn function to helpers.js