added code to actually fetch example JS via AJAX