addsafety semicolons before and after the minified version
addsafety semicolons before the lib starts