this will allow for clientside javascript reporting