Yes, it is safe. There are several ways to install such handlers in jQuery, and the only "unsafe" one is $(document).bind("ready", handler). From jQuery docs :
All three of the following syntaxes are equivalent:
$(document).ready(handler)$().ready(handler) ( )$(handler)
$(document).bind("ready", handler). , : , .bind("ready") . , .