the_styles ? the_styles.appendTo(\'head\'); the_styles=null : the_styles = $(\'.stylesheet\').detach();
Obviously, this isn\'t valid. Notice the \"
the_styles ? (function() {the_styles.appendTo('head'); the_styles=null})() :
Just wrap the code block in (function() { and })().
(function() {
})()
Now for the hard part: why would you want to do this? Perhaps there's a better solution!