some js code