updated Ross's JS file