added js files
fixed caption issue