completed ajax support; added field validation for quantity of resources bought for 1 plant; moved strings into messages