added js in index