4 js almost done