added separate js file to handle the creation of new achievements