 
 # non-browserify compatibility
 window.LC = {init}
-registerJQueryPlugin($)
+if window.$
+    registerJQueryPlugin(window.$)
 
 
 module.exports = {

$ = window.$
LiterallyCanvas = require './core/LiterallyCanvas'
initReact = require './reactGUI/init'


  createShape: shapes.createShape,
  JSONToShape: shapes.JSONToShape,
  shapeToJSON: shapes.shapeToJSON,
}
