Fixes the admin_head hook so that the item form .js is only included on item edit pages.