split js into script.js, link cover images