Push Notification doesn`t appear in the client side in my rails App (Pusher API)

Push Notification doesn`t appear in the client side in my rails App (Pusher API)

Hello everyone, i use Pusher Notification in my App , i integrated pusher API correctly in my rails App and in Pusher.com appear the the server sent a Notification but it doesn`t appear in the client side
i included all files that the project need (jquery,PusherNotifier.js, etc )
  1. <script> 
  2.    var NOTIFY_ENDPOINT = '/assets/notify.html';
  3.   $(function() {
  4.     $.ajax({
  5.             url: NOTIFY_ENDPOINT,
  6.             data: {"message": "I'm a notification!"}
  7.           });
  8.   var pusher = new Pusher('af30f81da233dd0925b2', {encrypted: true});
  9.   var channel = pusher.subscribe('my_notifications');  
  10.    channel.bind('my_event',function(data){ 
  11.    var notifier = new PusherNotifier(channel);
  12. });
  13.   
  14.   });
  15.     </script>