jsPlumb: create endpoint per port_no.
javascript: code cleanup
add check for delLink
Merge pull request #20 from yuta-hamada/gui-dev

javascript: update