Fix none-closing script block