fix #261 adjusted jquery event interfaces
Fixed URI constructor

Added additional constructor to URI.