add a upload pic js widget