Fixed JS and added gradients