move old code, add ajax pages for trigger skills and merit