Added isAreaClear method to gridClass.js and cleaned up calculateDesination method.