cleanup js style