In my case I was putting my .js file before the jQuery script link, putting the .js file after the jQuery script link solved my issue.
<script src=" ://code.jquery.com/jquery-1.10.2.js"></script>
<script src=" ://code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<script src=" ://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="exponential.js"></script>