warn me about undefined vars in js