refactored farm.js to remove animation and clean up code