minor update to js style in src