#1068 Fixed rendering of HTML widget script includes