Update follows.js

Change min and max calculation