minor change to make the js programming easier