Using parseInt in comparing stopTime and hour