Moved updating of data to Javascript to decrease initial load time.
Initial import