integrate js file with the research prototype