Moved AJAX script to helper, removed @ from local vars