add javascript for debugging and some changes to citation