Added type to loan field in Boats.js