working on js style