Include this in your HTML:

<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="https://rawgit.com/dbkaplun/quickscope/master/quickscope.js"></script>

Add this to your JS:

Fork me on GitHub