fixed many bugs with js, began real implementation of 3 swimmer case. using jcanvas