I want to increase my minutes var everytime the seconds var reaches '00' in javascript.

So for instance 
Don't increase it when it is 82,761,912
But when it is 82,762,000 

How can I check for this? I tried:

`if(Math.floor(seconds) == seconds)`

and 

`If(seconds % 1 != 0)`

But neither of them produced the correct results.