Update d3_minimize_html.php

Changed javascript minify method
trim -> regexp ( remove all spaces outsides Quotes ( "" )

Tested: http://regexr.com/391o5