Rename purchase log action links JavaScript file in line with functions.