added some sort of dependent types; changed the javascript model generator to generate a much richer model derived semi-automatically from the ruby model; updated client side scripts
removed trailing whitespaces
hash record