Match wp_register_script function signature

Although the third parameter currently works when false to indicate
no dependancies, it works by side-effect, the function signature uses
an empty array to indicate no dependancies.