fix and finish 4 js