Fixed js include typo, added image preloading

Fixed js include typo, added image preloading
    application/views/footer.php
    javascript/custom.js