move js function building interface
move init function to body
add esc to abort game
add ongoing score
replace board by div rails