magic
implementing ajax, stage 1. fixing routes, filenames, and attributes for moving data