added calculate.js[WIP], collects form inputs and parses dates