Digitally sign content by using only javascript