block_searchcourses: define AJAX_SCRIPT conditionally
Merge pull request #1 from MorrisR2/master

block_searchcourses: define AJAX_SCRIPT conditionally