correct javascript paths in admin templates