foudn the javascript tag we needed, functionality restored to what we had earlier