Adding missing stuff

Forgot to add paginationCtronl and the actual javascript