change dev_name and port_name to jquery.data()