Extract css and js code from sentence_view.php