added js script to add signature