created separate js file for clickListeners