Made it so that only one update request happens at a time

This branch makes the following changes:

1. Wraps the contents of the `update_status` function inside of a `setTimeout`.

1. Makes it so that after the Ajax request is done (regardless of success or failure), the `update_status` function gets called again.

1. Takes the initial call to the `update_status` function out of `setInterval`.