Javascript Get Css Background Gradient