add some js code