Update gradient.class.js

code styles error fixed.