port browser editor to require.js
fix references to PinDirection
fix loading patches from XML code: callback not firing / exception in getRelativePath
fix references to $ / jQuery
allow creation of web sockets via host specific code
fix getting host specific Image constructors on node