scriptjs fix