Added condition to prevent functions from being parsed.

Streak uses `bacon.js` which subscribes to XHR calls and adds a function and it's being parsed in loop. This prevents it.