Fix for FF isInteger