Added auto checking recent posts with javascript