fixed bug by clearing script options when dataTable or script changes