.gitignore file added, pagination, caption added in js