drupal_add_js(), script not executed
I believe the = function (context) bit needs to include the attach:

(function ($) {
  Drupal.behaviors.myModule = {
    attach: function (context, settings) {
      alert('say something pretty please');
    }
  };
})(jQuery);