add some js control