added common js file for endless scroll