Add useless timer function, AJAX partially broken