Update js/1.4.0/jsPlumb-1.4.0-RC1.js

Fixed an error in hotwire endpoints. Happened when no target is defined.
Merge pull request #14 from Metrex/patch-1

fixed possible NPE when no target endpoint defined