simple server for posting file (currently dot) to be rendered in js