make reference wave ckechbox checked by default also in instacalc page
some javascript lint
documentation fixes
remove unused function (was used for cummulative calculation)