bunch of changes, including ajax and nav changes