update
getting close with the js