adding script js to dependencies