new js file (main2). date parsing/formatting and tooltip