update dgfree
javascript file
fixes