added js file for interaction