use jquery on ready instead of prototype observe