The plugin it was rewriten based on this article :http://scribu.net/wordpress/optimal-script-loading.html because the code published there it is perfect. Now the plugin is better and bug-free.