How to get rid of unexisting function warnings

When I have to use external libraries in ember, I’m getting several warnings like this one:

line 3, col 5, 'log' is not defined.

Is there any way to avoid this?