everyTime seems to be a jQuery plugin that has great functionality that you are not using here. For what you are doing, you can simply use it setIntervalthis way:
setInterval(function() {
}, 5000)
where the second parameter is the number of milliseconds.
Note in everyTime
If you really want to use everyTime, you need to make your first parameter a string, i.e.:
$(document).everyTime("5s", function(i) { }, 0);
5s. javascript ( jQuery) , ..
<script type="text/javascript" src="/js/jquery.timers.js"></script>