setup of js file and img links