Update card search system and common js