moving css option to javascript file..