Add 'not available' history item if it's not available after several tries
Let user chose how frequently update values. Restructured js files