small coding experiments with js