Removing references to the studio variable

replacing with NodeaStudio.instance. No clue if this is better, but at
least it will be easier to do require js if needed