in js, moved more things into drawItem. Fixed chord css