Improved and fixed minify() function

Properly remove 

      <!-- <script></script> -->

Prevent from removing multiple space from tag attribute. For example: 

     <input type='text' value='Hello          World'>