You can buy this project and download/modify it how often you want.
Check Security Settings on Load ECMA Script Security Check - Function() usage not run