hotfix for "this" no longer pointing to the Entry object in a $.ajax call