adds ajax for tool checkout
more ajax
fixes ajax to check out and reserve tools