It seems that this should be
    
    src: '<%=paths. jsSource%>'

Looks like this this will take care of copying hopscotch.js file from /src/js folder into tmp/js. You can remove copying of hopscotch.js file from copy task