Send rental records, add variables into js file