added js to dice img