you can use the colorramp for the diffuse alpha too. in fact, I think your diffuse socket is useless, the colorramp can specify the color and feed the emission output directly, no need for diffuse in this case
anyway, is it what you want or is there still something wrong?