Added killPopShare

Added the kill pop share function to the functions.js file.