/**
* Minimize the size of a javascript script.
* This method is based on Douglas Crockford's JSMin.
* @param string code that you want to minimzie
* @return minimized version of the code
*/
public static function JSMin($code)
{
return JSMin::minify($code);
}