Update gradient.class.js

Added import of gradient transform