Placed the AJAX JS back to the template for now