Try to add some js function