Remove $(document).ready and style appending from js in textarea

Now the appending of $(document).ready() and the CSS happens
in the "compile step" rather than being something the user can edit.