made generated code pane scrollable
updated js