update funJs