Change false values to null to deprecate compact function
Remove deprecated webkit-gradient code
Removed unneeded compact function