Update froogaloop.js

Splitting the last return into two distinct steps to avoid JSLint to pull an error: "Did you mean to return a conditional instead of an assignment?"