first official commit

not 100% working.

window.onload set up
form.onchange set up
function creation including init
call init
some globalized variable