Modify some js features