Actions to register scripts reuire different hook based on
if we're in the admin or not.