You can use head.js for browser detection and resource loading. Here's what it could look like in your case:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/headjs/1.0.3/head.min.js"></script>
<script type="text/javascript">
if(head.browser.name != "safari") {
head.load("path/to/conditional/file.js", function() {
// File is loaded. Do something with it here
});
}
</script>
You could certainly wrap it in a doc.ready function too if you needed.