getting back to some javascript